﻿#region Imports
using System;
using System.Collections.ObjectModel;
#endregion Imports

namespace PlayRandom.Models
{
    [Serializable]
    public class SearchSettings
    {
        #region Properties
        private ObservableCollection<string> _AllPaths = new ObservableCollection<string>();
        public ObservableCollection<string> AllPaths
        {
            get { return _AllPaths; }
            set { _AllPaths = value; }
        }

        private string _DirPath;
        public string DirPath
        {
            get { return _DirPath; }
            set { _DirPath = value; }
        }

        private bool _AllowRepeat;
        public bool AllowRepeat
        {
            get { return _AllowRepeat; }
            set { _AllowRepeat = value; }
        }

        private bool _IncludeFavourites;
        public bool IncludeFavourites
        {
            get { return _IncludeFavourites; }
            set { _IncludeFavourites = value; }
        }

        private bool _AddFilesOnTop;
        public bool AddFilesOnTop
        {
            get { return _AddFilesOnTop; }
            set { _AddFilesOnTop = value; }
        }

        private bool _ApplyFilters;
        public bool ApplyFilters
        {
            get { return _ApplyFilters; }
            set { _ApplyFilters = value; }
        }

        private bool _AutoSearch;
        public bool AutoSearch
        {
            get { return _AutoSearch; }
            set { _AutoSearch = value; }
        }

        private bool _SearchSubDirectories;
        public bool SearchSubDirectories
        {
            get { return _SearchSubDirectories; }
            set { _SearchSubDirectories = value; }
        }

        private int _CacheLimit;
        public int CacheLimit
        {
            get { return _CacheLimit; }
            set { _CacheLimit = value; }
        }

        private bool _AutoCache;
        public bool AutoCache
        {
            get { return _AutoCache; }
            set { _AutoCache = value; }
        }

        private bool _CacheSearch;
        public bool CacheSearch
        {
            get { return _CacheSearch; }
            set { _CacheSearch = value; }
        }
        #endregion Properties
    }
}
